package com.base.factory.abstructfactory.factory.impl;


import com.base.factory.abstructfactory.factory.ComputerFactory;
import com.base.factory.abstructfactory.service.ComputerService;
import com.base.factory.abstructfactory.service.impl.Dell;
import com.base.factory.abstructfactory.service.impl.ThinkPad;

/**
 * Created by xingyuchao on 2017-06-18.
 * 生产ThinkPad的工厂
 */
public class ThinkPadFactory extends ComputerFactory {
    @Override
    public ComputerService getComputer() {
        return new ThinkPad();
    }
}
